package com.sicent.app0013.operate.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sicent.app0013.operate.dao.InternetBarDao;
import com.sicent.app0013.operate.model.InternetBar;
import com.sicent.operate.common.base.interf.BaseMapper;
import com.sicent.operate.common.base.service.BaseServiceSupport;
import com.sicent.operate.common.datasource.DataSource;

@Service("internetBarService")
@DataSource("baseDataSource")
public class InternetBarService extends  BaseServiceSupport<InternetBar, String>{

	@Autowired
	private InternetBarDao internetBarDao;
	
	@Override
	public BaseMapper<InternetBar, String> getMapper() {
		return internetBarDao;
	}
	
	public List<InternetBar> findByInfo(Map<String, Object> param,
			Integer pageNo, Integer pageSize) {
		return internetBarDao.getList(param);
	}
}
